package inheritance;

public class Computer {

	private String make;
	private String model;
	private int year;

	Computer() {

	}

	Computer(String make, String model, int year) {

		this.make = make;
		this.model = model;
		this.year = year;
	}

	void on() {

		System.out.println("The system is " + make + "model is  " + model 
			+ "and it is turned on.");
	}

	void off() {

		System.out.println("The system is turned off.");
	}

	public String getMake() {
		return make;
	}

	public String getModel() {
		return model;
	}

	public int getYear() {
		return year;
	}

}
